package cate.common.table.activity.lottery.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteField;

public class LotteryDrawRewardRow  extends ERow {
    @NoteField("次数")
    public int times;
    @NoteField("奖励")
    public String reward;
    @NoteField("次数奖励分组")
    public int group;

    @Override
    public void parse(XSSFRowWrap xrw) {
        this.id = xrw.getInteger("ID");
        this.reward = xrw.getString("奖励");
        this.group = xrw.getInteger("次数奖励分组",0);
        this.times = xrw.getInteger("次数",0);
    }
}
